<script type="text/javascript" src="<?=$base_url;?>images/js/jquery.validate.js?v1"></script>
<script type="text/javascript">
$().ready(function(){
    $("#frmLogin").validate({
       rules:{
            login_username :{
                required:true
            },
            login_password :{
                required:true
                
            }
       } ,
       messages:{
            login_username: {
                required:"Vui lòng nhập tài khoản"
            },
            login_password: {
                required:"Vui lòng nhập mật khẩu"
            }
       }
    });
    
}) ;
</script>
<?php $this->load->view('front/includes/breadcrumb') ?>
<form id="frmLogin" action="<?=$base_url;?>dang-nhap/<?=$url;?>" method="post" >
<div class="regis_box">
	<div class="regis_box_title">Đăng nhập</div>
	<div class="bg_regis_complete" style="height: auto;">
    
		<div style="text-align: left;padding-left:135px;padding-top:20px;"><p>Nếu chưa có tài khoản <b>Đi Động Việt</b> vui lòng bấm Đăng ký</p></div>
        
        <div class="regis_line">
			<div class="fl regis_line_txt" style="width: 206px;"><strong>Tài khoản</strong> <font color="red">(*)</font></div>
			<div class="fl"><input type="text" name="login_username" value="" /></div>
			<div class="clr"></div>
		</div>
        <div class="regis_line">
			<div class="fl regis_line_txt" style="width: 206px;"><strong>Mật khẩu</strong> <font color="red">(*)</font></div>
			<div class="fl"><input type="password" name="login_password" value="" style="border: 1px solid #999999;width: 250px;" /></div>
			<div class="clr"></div>
		</div>
        <div style="text-align: center;color:red;"><?=$msg;?></div>
        <div class="chk_l">
			<input type="checkbox" value="Bike" name="login_remember" class="chk">Ghi nhớ | 
			<a href="<?=$base_url;?>quen-mat-khau" title="Quên mật khẩu" class="forget_email_link">Quên mật khẩu?</a>
		</div>
        <div class="regis_btn" style="padding-top: 20px;">
		      <input type="image" src="<?=$base_url;?>images/login_bt.png" id="btnLogin">
              <a title="Đăng ký" href="<?=$base_url;?>dang-ky"><img src="<?=$base_url;?>images/register_btn.png"></a>
              <div class="clr"></div>
		</div>
        <div class="clr"></div>
	</div>
    <div class="clr"></div>
    
</div>
</form>